package com.pai4j.remote.act;


import com.pai4j.common.bean.PAIResponseBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "pai4j-act-service", contextId = "MomentInteractionClient")
public interface MomentInteractionClient {

    /**
     * 动态点赞
     *
     * @param momentId 动态ID
     * @return 点赞结果
     *
     * @author: CYM-pai
     * @date: 2025/01/04 13:50
     */
    @PostMapping("/ugc-service/moment/interaction/like/{momentId}")
    PAIResponseBean<Long> likeMoment(@PathVariable Long momentId);
}
